<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>alert</title>
    <link rel="stylesheet" href="../../model/element.css">
    <link rel="stylesheet" href="../../model/jsFn.css">
</head>
<body>
<div class="catalog">
    <h1>目录</h1>
    <ul>
        <li>
            <ul>
                <li><p><a href="#jsFn_alert">alert() -------提示文本信息</a></p></li>
            </ul>
        </li>
    </ul>
</div>
<div class="jsFnModel" id="jsFn_alert">
    <h3>alert:</h3>
    <div class="shape">
        <h3>函数使用样式</h3>
        <p>alert(message) -> null</p>
    </div>
    <div class="profile">
        <h3>函数功能简介</h3>
        <p>android和ios为吐司,pc为弹出一个提示框</p>
    </div>
    <div class="version">
        <p>稳定性;2 - 稳定的</p>
        <p>新增于:v0.0.1</p>
    </div>
    <div class="params">
        <h3>参数列表:</h3>
        <ul>
            <li>
                <p>message</p>
                <p>&nbsp;object&nbsp;</p>
                <p>吐司的内容,若不是string,则转换成字符串</p>
            </li>
        </ul>
    </div>
    <div class="res">
        <h3>返回值:</h3>
        <p>无</p>
    </div>
    <div class="code">
        <h3>例子</h3>
        <pre>
            <code>
                alert("请输入手机号");
                alert({name:'张三'});
                alert(["张三","李四"]);
            </code>
        </pre>
    </div>
    <div class="error">
        <h3>抛出错误</h3>
    </div>
</div>
<div class="author">
    <p>by-草草</p>
</div>
</body>
</html>